package com.itheima.dao;

import com.itheima.pojo.User;

/**
 * @author ：shipotian
 * @date ：Created in 2019/4/28
 * @description ：用户Dao接口
 * @version: 1.0
 */
public interface UserDao {

    //用户注册方法
    void register(User user) throws Exception;

    //用户登录方法
    User login(String username, String password) throws Exception;
}
